from django.conf.urls.defaults import *
import settings

urlpatterns = patterns('',
    (r'^blog/', include('pylogs.urls')),
    (r'^', include('djangoside.urls')),        
)

urlpatterns += patterns('',
    # Example:
    # (r'^pylogs/', include('pylogs.foo.urls')),
    #(r'^(?P<year>\d{4})/$', 'django.views.generic.date_based.archive_year',info_dict),  
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^admin/r/', include('django.conf.urls.shortcut')),
    (r'^media/(?P<path>.*)$', 'django.views.static.serve',
            {'document_root': settings.STATIC_PATH}),            
    (r'^utils/vcode/$', 'pylogs.utils.validatecode.get_validatecode_img'),
    #(r'handler404', 'django.views.generic.simple.direct_to_template',{'template':'error/404.html'}),
)
